package com.calendar.api.service;

import com.calendar.api.model.Category;
import com.calendar.api.model.dto.CategoryDTO;

import java.util.List;

public interface CategoryService {
    List<Category> getAllCategories(Long userId);
    Category getCategory(Long id, Long userId);
    Category createCategory(CategoryDTO categoryDTO, Long userId);
    Category updateCategory(Long id, CategoryDTO categoryDTO, Long userId);
    void deleteCategory(Long id, Long userId);
} 